﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MySoftLab.DapFlashCore.Targets
{
    public enum MemoryType
    {
        FLASH = 0,
        RAM = 1
    }

    public class MemoryRegion : MemoryRangeBase
    {
        public string Name { get; set; }

        public MemoryType MemoryType { get; set; }

        public MemoryRegion(string name, uint start, uint length) : base(start, length)
        {
            Name = name;
        }
    }
}
